styleproperty: Make default_value() take a state
authorBenjamin Otte <otte@redhat.com>
Sun, 12 Jun 2011 23:26:11 +0000 (01:26 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 13 Jun 2011 13:01:52 +0000 (15:01 +0200)
commitba7d1c21049e9f055ce5b2689efa7f8910b19413
treec4ec26b6ee7fe98e8cf354f776f9b2a6f58d30e1
parente0b1943c97a0becc239d22283835a3cbead0d5bc
styleproperty: Make default_value() take a state

Because of this, resolve() needs to take a state, too. This is so that
we can have default values depend on other values (like border color).
gtk/gtkstyleproperties.c
gtk/gtkstyleproperty.c
gtk/gtkstylepropertyprivate.h